import {get, post} from './http'
// 登录
export const Login = (params) => get('/pOrULogin.do', params)

//菜单
export const getLevelMenu1 = (params) => get('/getLevelMenu1.do', params)

//获取字典项（住宿安排）cwhLeaveJoinmeetingDicAPP
export const cwhLeaveJoinmeetingDicAPP = (data) => post('/cwh_attendleave_mobile/cwhLeaveJoinmeetingDicAPP.do', data);
//人员类别判断(新) cwhAttendLeavePermissionJudge
export const cwhAttendLeavePermissionJudge = (data) => post('/cwh_attendleave_mobile/cwhAttendLeavePermissionJudge.do', data);
// 报名管理模块
//3.1.1常委会报名截止日期提示语   cwhAttendleaveEndDate
export const cwhAttendleaveEndDate = (data) => post('/cwh_attendleave_mobile/cwhAttendleaveEndDate.do', data);
//3.1.2委员本人报名（添加接口） cwhAttendleaveDirectbm
export const cwhAttendleaveDirectbm = (data) => post('/cwh_attendleave_mobile/cwhAttendleaveDirectbm.do', data);
//列席委员人员报名（添加接口） cwhAttendleaveBm
export const cwhAttendleaveBm = (data) => post('/cwh_attendleave_mobile/cwhAttendleaveBm.do', data);
//3.1.3首页信息判断  cwhAttendleaveHome
export const cwhAttendleaveHome = (data) => post('/cwh_attendleave_mobile/cwhAttendleaveHome.do', data);
//签到
export const signIn = (data) => post('/signIn.do', data);
//3.2.1常委会-[请假详情]字典项  cwhLeavedetailcontentDicAPP
export const cwhLeavedetailcontentDicAPP = (data) => post('/cwh_attendleave_mobile/cwhLeavedetailcontentDicAPP.do', data);
//3.2.4常委会会议请假场次查询   cwhLeaveBySchedule
export const cwhLeaveBySchedule = (data) => post('/cwh_attendleave_mobile/cwhLeaveBySchedule.do', data);
//3.2.3常委会-半程请假-[住宿安排]字典项  cwhhalfLeaveArrangeDicAPP
export const cwhhalfLeaveArrangeDicAPP = (data) => post('/cwh_attendleave_mobile/cwhhalfLeaveArrangeDicAPP.do', data);
//常委列席人员全-半程请假 cwhAttendleaveQj
export const cwhAttendleaveQj = (data) => post('/cwh_attendleave_mobile/cwhAttendleaveQj.do', data);
//3.2.2常委会-[请假原因]字典项  cwhLeavereasonDicAPP
export const cwhLeavereasonDicAPP = (data) => post('/cwh_attendleave_mobile/cwhLeavereasonDicAPP.do', data);

//3.2.5常委会委员本人请假(添加接口)   cwhAttendleaveZjqj
export const cwhAttendleaveZjqj = (data) => post('/cwh_attendleave_mobile/cwhAttendleaveZjqj.do', data);
// 3.3.1常委会选报首页
export const cwhSpecialSubjectHome = (data) => post('/cwh_specialsubject_mobile/cwhSpecialSubjectHome.do', data);
// 3.3.2常委会选报接口
export const cwhSpecialSubjectNewspaperSelection = (data) => post('/cwh_specialsubject_mobile/cwhSpecialSubjectNewspaperSelection.do', data);
//3.3.3详情
export const detailcwhSpecialSubjectNewspaperSelection = (data) => post('/cwh_specialsubject_mobile/detailcwhSpecialSubjectNewspaperSelection.do', data);
//3.3.4
export const updateCwhSpecialSubjectNewspaperSelection = (data) => post('/cwh_specialsubject_mobile/updateCwhSpecialSubjectNewspaperSelection.do', data);
// 3.3.5
export const cwhSpecialSubjectIsNewspaperSelection = (data) => post('/cwh_specialsubject_mobile/cwhSpecialSubjectIsNewspaperSelection.do', data);
//3.1.5委员报名详情   wyBmDetail
export const wyBmDetail = (data) => post('/cwh_attendleave_mobile/wyBmDetail.do', data);
// 3.2.6常委会请假修改接口
export const updatePersonQjMessage = (data) => post('/cwh_attendleave_mobile/updatePersonQjMessage.do', data);
updatePersonQjMessage
//3.2.6常委会委员已请假详情  cwhPersonQjDetail
export const cwhPersonQjDetail = (data) => post('/cwh_attendleave_mobile/cwhPersonQjDetail.do', data);
// 2.4.1常委会会议文件目录列表
export const cwhMeetingFileCategory = (data) => post('/cwh_attendleave_mobile/cwhMeetingFileCategory.do', data);
export const cwhMeetingFileInfoDisplay = (data) => post('/cwh_attendleave_mobile/cwhMeetingFileInfoDisplay.do', data);
export const cwhMeetingFileInfoDetail = (data) => post('/cwh_attendleave_mobile/cwhMeetingFileInfoDetail.do', data);

//3.3.1常委会_会议议程   cwhMeetingAgendaAPP
export const cwhMeetingAgendaAPP = (data) => post('/cwh_attendleave_mobile/cwhMeetingAgendaAPP.do', data);
// 3.3.2常委会_日程安排   cwhScheduleAPP
export const cwhScheduleAPP = (data) => post('/cwh_attendleave_mobile/cwhScheduleAPP.do', data);
// 3.3.3常委会_作息时间  cwhMeetingrestAPP
export const cwhMeetingrestAPP = (data) => post('/cwh_attendleave_mobile/cwhMeetingrestAPP.do', data);
// 3.3.4常委会_会议须知   cwhMeetingnotesAPP
export const cwhMeetingnotesAPP = (data) => post('/cwh_attendleave_mobile/cwhMeetingnotesAPP.do', data);
//服务电话 cwhServicTelAPP
export const cwhServicTelAPP = (data) => post('/cwh_attendleave_mobile/cwhServicTelAPP.do', data);

//3.4.1常委会会议通知列表 cwhNoticereceivedAPP
export const cwhNoticereceivedAPP = (data) => post('/cwh_attendleave_mobile/cwhNoticereceivedAPP.do', data);

//3.4.2回复通知 cwhReplyNoticAPP
export const cwhReplyNoticAPP = (data) => post('/cwh_attendleave_mobile/cwhReplyNoticAPP.do', data);

//3.4.4全部通知列表 cwhAllNoticeAPP
export const cwhAllNoticeAPP = (data) => post('/cwh_attendleave_mobile/cwhAllNoticeAPP.do', data);

// 3.4.5全部通知查看（详情） cwhAllNoticDetailAPP
export const cwhAllNoticDetailAPP = (data) => post('/cwh_attendleave_mobile/cwhAllNoticDetailAPP.do', data);

// //3.4.3待收查看通知（详情) cwhNoticDetailAPP
// export const cwhNoticDetailAPP = data =>
post('/cwh_attendleave_mobile/cwhNoticDetailAPP.do', data);

// 委员签到页面    signInWeiyuan.do
export const signInWeiyuan = (data) => post('/signInWeiyuan.do', data);
//全委会待接收通知  qwhNoticeToBeReceived
export const qwhNoticeToBeReceived = (data) => post('/qwh_attendleave_mobile/qwhNoticeToBeReceived.do', data);
// 全委会全部通知 qwhAllNotifications
export const qwhAllNotifications = (data) => post('/qwh_attendleave_mobile/qwhAllNotifications.do', data);
//全委会回复通知 qwhReply
export const qwhReply = (data) => post('/qwh_attendleave_mobile/qwhReply.do', data);

// 全委会全部通知查看（详情） qwhNoticeOfMeetingDetails
export const qwhNoticeOfMeetingDetails = (data) => post('/qwh_attendleave_mobile/qwhNoticeOfMeetingDetails.do', data);

// 全委会_会议议程 - 0 会议议程 ，1 会议须知/注意事项，2 作息时间 qwhMeetingAgenda
export const qwhMeetingAgenda = (data) => post('/qwh_attendleave_mobile/qwhMeetingAgenda.do', data);

// 全委会议 首页信息 qwhHomePage
export const qwhHomePage = (data) => post('/qwh_attendleave_mobile/qwhHomePage.do', data);

// 全委会  会议开始时间-结束时间 、 开关状态、请假状态 qwhMeetingDateAndStatusAndLeave
export const qwhMeetingDateAndStatusAndLeave = (data) => post('/qwh_attendleave_mobile/qwhMeetingDateAndStatusAndLeave.do', data);

// 全委会-会议报名 qwhMeetingSignUp
export const qwhMeetingSignUp = (data) => post('/qwh_attendleave_mobile/qwhMeetingSignUp.do', data);

// 全委会-报名详情 qwhMeetingSignUpDetaiil
export const qwhMeetingSignUpDetaiil = (data) => post('/qwh_attendleave_mobile/qwhMeetingSignUpDetaiil.do', data);

// 全委会 -委员请假接口 qwhMeetingLeave
export const qwhMeetingLeave = (data) => post('/qwh_attendleave_mobile/qwhMeetingLeave.do', data);

// 全委会-请假字典（全程，半程） qwhLeavedetailcontentDicAPP
export const qwhLeavedetailcontentDicAPP = () => post('/qwh_attendleave_mobile/qwhLeavedetailcontentDicAPP.do')

// 全委会_ 请假原因字典项 qwhLeavereasonDicAPP
export const qwhLeavereasonDicAPP = () => post('/qwh_attendleave_mobile/qwhLeavereasonDicAPP.do')

// 全委会_请假场次 根据会议日程确定场次  qwhLeaveBySchedule
export const qwhLeaveBySchedule = (data) => post('/qwh_attendleave_mobile/qwhLeaveBySchedule.do', data);

// 请假详情接口 qwhMeetingLeaveDetail
export const qwhMeetingLeaveDetail = (data) => post('/qwh_attendleave_mobile/qwhMeetingLeaveDetail.do', data);

// 2.4.1会议文件目录列表 qwhMeetingFileCategory
export const qwhMeetingFileCategory = (data) => post('/qwh_attendleave_mobile/qwhMeetingFileCategory.do', data);

// 2.4.2会议文件信息列表 qwhMeetingFileInfoDisplay
export const qwhMeetingFileInfoDisplay = (data) => post('/qwh_attendleave_mobile/qwhMeetingFileInfoDisplay.do', data);

// 2.4.3会议文件信息详情 承诺书信息加载接口
export const qwhMeetingFileInfoDetail = (data) => post('/qwh_attendleave_mobile/qwhMeetingFileInfoDetail.do', data);

// 承诺书信息加载接口  toSubmitBook
export const toSubmitBook = (data) => post('/qwh_yqfk_file_mobile/toSubmitBook.do', data);

// 承诺书提交接口  submitBookStateChange
export const submitBookStateChange = (data) => post('/qwh_yqfk_file_mobile/submitBookStateChange.do', data);

// 健康码加载接口 allEnterInformationShow
export const allEnterInformationShow = (data) => post('/qwh_yqfk_file_mobile/allEnterInformationShow.do', data);

// 上传健康码的接口 uploadPicture
export const uploadPicture = (data) => post('/qwh_yqfk_file_mobile/uploadPicture.do', data);

// 筛查表 and 信息采集表 字典项  dictionaryList
export const dictionaryList = () => post('/qwh_yqfk_file_mobile/dictionaryList.do')

// changeFrontCheckFormInfo  筛查表提交
export const changeFrontCheckFormInfo = (data) => post('/qwh_yqfk_file_mobile/changeFrontCheckFormInfo.do', data);

// findMonitorFormData 获取日期列表
export const findMonitorFormData = (data) => post('/qwh_yqfk_file_mobile/findMonitorFormData.do', data);

// insertMoreForm  信息采集表提交
export const insertMoreForm = (data) => post('/qwh_yqfk_file_mobile/insertMoreForm.do', data);
// updateMoreForm  信息采集表修改
export const updateMoreForm = (data) => post('/qwh_yqfk_file_mobile/updateMoreForm.do', data);

// findMoreForm  信息采集表信息回显
export const findMoreForm = (data) => post('/qwh_yqfk_file_mobile/findMoreForm.do', data);
//moreMultiUpload
export const moreMultiUpload = (data) => post('/qwh_yqfk_file_mobile/moreMultiUpload.do', data);
//updateMonitorAndPicture
export const updateMonitorAndPicture = (data) => post('/qwh_yqfk_file_mobile/updateMonitorAndPicture.do', data);
//showHzMonitorInfo
export const showHzMonitorInfo = (data) => post('/qwh_yqfk_file_mobile/showHzMonitorInfo.do', data);

// findyqfkPersonPrimaryId
export const findyqfkPersonPrimaryId = (data) => post('/qwh_yqfk_file_mobile/findyqfkPersonPrimaryId.do', data);

// hzMonitorFormList 会中列表
export const hzMonitorFormList = (data) => post('/qwh_yqfk_file_mobile/hzMonitorFormList.do', data);
//qwhAttendLeavePersonStatistics
export const qwhAttendLeavePersonStatistics = (params) => get('/qwhAttendLeavePersonStatistics.do', params)

// 会前疫情信息查询接口:Qwh_yqfkHqMessageWebService  showHqInfo(String json);
// 前台传递: yqfkPersonId(主键id), qwhMeetingId(会议id);
// 返回:{ "success":true, "msg":"获取成功","info":List<Qwh_yqfkHqMessage>}
export const showHqInfo = (data) => post('/qwh_yqfkhq_message_mobile/showHqInfo.do', data);
// 会前疫情信息添加接口: addHqInfo(String json);
// 前台传递: yqfkPersonId, yqfkPerson, qwhMeetingId, yqfkHqDate(时间戳), yqfkHqItem:包含infection(感染情况: 感染后已康复(0)、感染尚未转阴(1)、尚未感染(2)), vaccineStatus(疫苗情况:是(1) 、否(0)),isInoculate(是否已接种: 是(1) 、否(0)), healthCondition(健康状况:正常(1)、不适(2));
// 返回: :{ "success":true, "msg":"填报成功"}
export const addHqInfo = (data) => post('/qwh_yqfkhq_message_mobile/addHqInfo.do', data);

// 会前疫情信息修改接口: updateHqInfo(String json);
// 前台传递: hqMessageId, yqfkPersonId, yqfkPerson, qwhMeetingId, yqfkHqDate(时间戳), yqfkHqItem:包含infection, vaccineStatus,isInoculate, healthCondition;
// 返回: :{ "success":true, "msg":"填报成功"}
export const updateHqInfo = (data) => post('/qwh_yqfkhq_message_mobile/updateHqInfo.do', data);

// 会中疫情信息添加接口: addHzInfo(String json);
// 前台传递: yqfkPersonId, yqfkPerson, qwhMeetingId,yqfkHqDate(时间戳), yqfkHqItem:包含todayNucleicAcid(当日核酸结果: 阴性(1) 、阳性(0)),healthCondition(身体健康状况: :正常(1)、不适(2)),isTransferHotels(是否转运单独宾馆: 是(1) 、否(0));
// 返回: :{ "success":true, "msg":"填报成功"}
export const addHzInfo = (data) => post('/qwh_yqfkhq_message_mobile/addHzInfo.do', data);

// 会中疫情修改接口: updateHzInfo(String json);
// 前台传递: hzMessageId, yqfkPersonId, yqfkPerson, qwhMeetingId, yqfkHqDate, yqfkHqItem
export const updateHzInfo = (data) => post('/qwh_yqfkhq_message_mobile/updateHzInfo.do', data);

// 会中疫情列表接口 showHzDateList
export const showHzDateList = (data) => post('/qwh_yqfkhq_message_mobile/showHzDateList.do', data);

//学习培训首页

export const getHomeData = (data) => post('/getHomeData.do', data);
//点击报名 (hyhdMeetingId,personId,personName)

// export const getBmData = (data) =>
post('/getBmData.do', data);
// 2025 新
export const getBmData = (data) => post('/hyhdfiledownload/getBmData.do', data);
//报名 （demo ,hyhd_meetingid,hyhd_meetingdetailid, joinmeetingpersonid,joinmeetingpersonname）
// public String saveBm(String params);

// export const saveBm = (data) =>
post('/saveBm.do', data);
// 2025 新
export const saveBm = (data) => post('hyhdfiledownload/saveBm.do', data);


//请假 （demo,hyhd_meetingid,joinmeetingpersonid,joinmeetingpersonname,file）
// public String saveQJ(String params);

// export const saveQJ = (data) =>
post('/saveQJ.do', data);
// 2025 新
export const saveQJ = (data) => post('hyhdfiledownload/saveQJ.do', data);

//请假报名详情
// public String detailBmandQj(String patyid,String hyhd_meetingid);
// export const detailBmandQj = (data) =>
post('/detailBmandQj.do', data);
// 2025 新
export const detailBmandQj = (data) => post('hyhdfiledownload/detailBmandQj.do', data);
//saveBm   saveQJ   detailBmandQj

//学习列表
// export const findListData = (data) =>
post('/findListData.do', data);
// 2025 新
export const findListData = (data) => post('hyhdfiledownload/findListData.do', data);


//
// export const getHomeData1 = (data) =>
post('/getHomeData1.do', data);
// 2025 新
export const getHomeData1 = (data) => post('hyhdfiledownload/getHomeData1.do', data);
// 其他会议  判定是否是代理报名人员
// export const isAgent = (data) =>
post('/isAgent.do', data);
// 2025 新
export const isAgent = (data) => post('hyhdfiledownload/isAgent.do', data);

// 其他会议  代理报名人员首页信息
// export const getAgentHomeData = (data) =>
post('/getAgentHomeData.do', data);
// 2025 新
export const getAgentHomeData = (data) => post('hyhdfiledownload/getAgentHomeData.do', data);
// 其他会议  代理报名按钮
export const agentSign = (data) => post('/agentSign.do', data);
// 其他会议  代理报名列表
// export const getAgentAllList = (data) =>
post('/getAgentAllList.do', data);
// 2025 新
export const getAgentAllList = (data) => post('hyhdfiledownload/getAgentAllList.do', data);
//其他会议   列表详情页
// export const detailAgentPerson = (data) =>
post('/detailAgentPerson.do', data);
// 2025 新
export const detailAgentPerson = (data) => post('hyhdfiledownload/detailAgentPerson.do', data);
//其他会议 修改
export const updateAgentPerson = (data) => post('/updateAgentPerson.do', data);
//其他会议 删除
// export const deleteAgentPerson = (data) =>
post('/deleteAgentPerson.do', data);
// 2025 新
export const deleteAgentPerson = (data) => post('hyhdfiledownload/deleteAgentPerson.do', data);

// 小助手
// pOrULogin.do
export const pOrULogin = (data) => post('/pOrULogin.do', data);
export const queryContent = (data) => post('/qwh_attendleave_mobile/queryContent.do', data);
// 座次表
export const qwhMeetingSeatArrangeDetail = (data) => post('/qwh_attendleave_mobile/qwhMeetingSeatArrangeDetail.do', data);
// 首页
export const zhhwAppHome = (data) => post('/qwh_attendleave_mobile/zhhwAppHome.do', data);

// // qwhMeetingFileCategory
// export const qwhMeetingFileCategory = (data) =>
post('/qwhMeetingFileCategory.do', data);
// 电子出席证 getPhotoFile
export const getPhotoFile = (data) => post('/qwh_attendleave_mobile/getPhotoFile.do', data);

// 工作人员模块会议手册
export const qwhplatformnotice = (data) => post('/qwh_attendleave_mobile/queryPlatformNotice.do', data);
// 会议通知
export const createJwt = (data) => post('/qwh_attendleave_mobile/createJwt.do', data);
//
// 会议通知
export const queryNotificationDetails = (data) => post('/qwh_attendleave_mobile/queryNotificationDetails.do', data);
//
// 获取报到情况
export const queryReportSituation = (data) => post('/qwh_attendleave_mobile/queryReportSituation.do', data);

// 查询报到详情
export const queryReportDetail = (data) => post('/qwh_attendleave_mobile/queryReportDetail.do', data);
// 报道情况统计-住地宾馆
export const getAllHotelName = (data) => post('/qwh_attendleave_mobile/getAllHotelName.do', data);
// 报道情况统计-获取数据
export const getAllReportPerson = (data) => post('/qwh_attendleave_mobile/getAllReportPerson.do', data);
